﻿<UserControl x:Class="Wen.UI.Main.AboutView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
	
	<UserControl.Resources>
		<Style TargetType="TextBlock">
			<Setter Property="TextWrapping" Value="Wrap" />
		</Style>
	</UserControl.Resources>
	
	<Grid>
		<Border Margin="3" CornerRadius="3" ClipToBounds="True" Padding="8">
			<Border.Background>
				<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
					<GradientStop Color="#DFD7E5FF" Offset="0"/>
					<GradientStop Color="#F2CBD0DA" Offset="1"/>
				</LinearGradientBrush>
			</Border.Background>
			<StackPanel>
				<StackPanel Orientation="Horizontal">
					<TextBlock Text="WPF 3D Navigator v" />
					<TextBlock Text="{Binding ApplicationVersion}" />
				</StackPanel>
				<TextBlock>
					<Run>By </Run>
					<Hyperlink Command="{Binding OpenLinkCommand}" NavigateUri="http://eynard.wordpress.com"
															 CommandParameter="{Binding NavigateUri, RelativeSource={RelativeSource Self}}">Rémi Eynard</Hyperlink>
				</TextBlock>
				<TextBlock Margin="0 10 0 0">
					<Hyperlink Command="{Binding OpenLinkCommand}" NavigateUri="http://eynard.wordpress.com/WEN"
										 CommandParameter="{Binding NavigateUri, RelativeSource={RelativeSource Self}}">Wen Home</Hyperlink>
				</TextBlock>
				<TextBlock>
					<Hyperlink Command="{Binding OpenLinkCommand}" NavigateUri="http://www.codeplex.com/WEN"
										 CommandParameter="{Binding NavigateUri, RelativeSource={RelativeSource Self}}">Wen on Codeplex</Hyperlink>
				</TextBlock>
				<TextBlock Margin="0 10 0 0">
					<Run>Wen uses Cory Plotts's</Run>
					<Hyperlink Command="{Binding OpenLinkCommand}" NavigateUri="http://snoopwpf.codeplex.com/"
															 CommandParameter="{Binding NavigateUri, RelativeSource={RelativeSource Self}}">Snoop</Hyperlink>
					<Run>injector.</Run>
				</TextBlock>
				<TextBlock Margin="0 10 0 0">
					<Run>Wen and Snoop are distributed under </Run>
					<Hyperlink Command="{Binding OpenLinkCommand}" NavigateUri="http://msdn.microsoft.com/en-us/library/ff648068.aspx"
															 CommandParameter="{Binding NavigateUri, RelativeSource={RelativeSource Self}}">MS-PL</Hyperlink>
					<Run>.</Run>
				</TextBlock>
				<TextBlock Margin="0 10 0 0" Text="Tip : hold the control key when clicking a navigation button to go faster." />
			</StackPanel>
		</Border>
	</Grid>
</UserControl>
